package Construct;


/**
 * 实例-1产品
 * Created by Garden on 2019/5/13.
 */
public class ProductOne implements AbstractProduct {

    protected String assemblyOne;
    protected String assemblyTwo;

    public ProductOne(ProductOneBuilder productOneBuilder){
        this.assemblyOne = productOneBuilder.assemblyOne;
        this.assemblyTwo = productOneBuilder.assemblyTwo;
    }

    @Override
    public void introduce() {
        System.out.println("==== this is product-one ====");
        System.out.println("==== assemblyOne ==== " + assemblyOne);
        System.out.println("==== assemblyTwo ==== " + assemblyTwo);
    }
}
